<template>
    <div>
        <h1>fenlei</h1>
        <hr>
    <h1>count:{{$store.state.count}}</h1>
    <h1>countx10:{{$store.getters.countx10}}</h1>
    <button @click="$store.commit('countadd')">
        count++
    </button>
    <hr>
    </div>
</template>

<script>
export default {
    name: 'VueFenlei',

   

    data() {
        return {
            
        };
    },

    mounted() {
        
    },

    methods: {
        
    },
};
</script>

<style lang="scss" scoped>

</style>